import Vue from 'vue'
import {sync} from 'vuex-router-sync'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import 'font-awesome/css/font-awesome.css'

Vue.use(ElementUI);

// Enable devtools
Vue.config.devtools = true;

sync(store, router);

const {state} = store;

const app = new Vue({
    router,
    store,
    ...App
}).$mount('#app');

